package com.beiing.tianshuai.tianshuai.mine.view;

import com.beiing.tianshuai.tianshuai.base.BaseViewImpl;
import com.beiing.tianshuai.tianshuai.entity.CommonBean;
import com.beiing.tianshuai.tianshuai.entity.FollowResultBean;
import com.beiing.tianshuai.tianshuai.entity.PersonalDynamicBean;
import com.beiing.tianshuai.tianshuai.entity.PersonalInfoBean;

/**
 * Created by Administrator on 2017/12/21 0021.
 */

public interface NewPersonalIndexViewImpl extends BaseViewImpl<PersonalInfoBean> {

    /**
     * 获取动态列表成功
     */
    void getDynamicsSuccess(PersonalDynamicBean bean);

    /**
     * 获取动态列表失败
     */
    void getDynamicsError(Throwable throwable);

    /**
     * 删除动态成功
     */
    void onDelDynamicSuccess(CommonBean bean, int position);

    /**
     * 删除动态失败
     */
    void onDelDynamicError(Throwable throwable);

    /**
     * 关注成功
     */
    void onFollowSuccess(FollowResultBean bean);

    /**
     * 关注失败
     */
    void onFollowError(Throwable throwable);
}
